<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-12
 * Time: 16:25
 */

namespace app\api\validate\records;


use LinCmsTp5\validate\BaseValidate;

class CheckRecords extends BaseValidate
{
    protected $rule = [
        'name' => 'require|max:20',
        'phone' => 'require|mobile',
        'order_no' => 'require|max:100',
        'explain' => 'require|max:255',
    ];

    protected $message = [
        'name' => '请输入用户姓名且长度不大于20',
        'phone' => '请输入正确的手机号',
        'order_no' => '请输入订单号',
        'explain' => '请输入说明且长度不大于255',
    ];
}